import request from '@/utils/request.js'
//小程序授权登录
export function authLogin(data) {
	return request.post('/open/index/miniAppLogin', data);
}
//获取用户信息
export function getUserInfo(data) {
	return request.get('/open/index/selectUserInfo', {params: data});
}

//获取轮播
export function getBanner() {
	return request.get('/open/index/selectBannerList');
}

// 政策解读分类数据
export function selectPromptType(data) {
	return request.get('/open/index/selectPromptType', {params: data});
}

// 根据分类查询政策解读分页
export function selectPromptList(data) {
	return request.get('/open/index/selectPromptList', {params: data});
}

// 获取政策解读Banner图
export function selectPolicBannerList(data) {
	return request.get('/open/index/selectPolicBannerList', {params: data});
}

// 关于我们
export function selectAboutInfo(data) {
	return request.get('/open/company/selectAboutInfo', {params: data});
}

// 根据政策ID查询详情
export function selectPromptOneInFo(data) {
	return request.get('/open/index/selectPromptOneInFo', {params: data});
}

// 查询是否申请过成为企业
export function getUserInfoBoolean(data) {
	return request.get('/open/index/getUserInfoBoolean', {params: data});
}

// 用户投诉
export function upComFeedback(data) {
	return request.post('/open/index/upComFeedback', data);
}

// 用户消息列表
export function selectUserMessageList(data) {
	return request.get('/open/consumer/info/selectUserMessageList', {params: data});
}

// 获取首页警示语
export function selectPromptByOne(data) {
	return request.get('/open/index/selectPromptByOne', {params: data});
}

// 个人信息提交接口
export function upUserInfoPost(data) {
	return request.post('/open/index/upUserInfoPost', data);
}

// 查询用户协议
export function agreementServiceSelectAll(data) {
	return request.get('/open/consumer/info/agreementServiceSelectAll', data);
}

// 查询线上招聘会
export function selectComOnlineRecruitList(data) {
	return request.get('/open/company/selectComOnlineRecruitList', data);
}

// 查询线上招聘会列表
export function selectComOnlineRecruitListNew0428(data) {
	return request.get('/open/company/selectComOnlineRecruitListNew0428', data);
}

// 查询线上招聘会列表
export function getIndexOnload(data) {
	return request.get('/open/consumer/info/getIndexOnload', data);
}

// 查询线上招聘会列表
export function getIndexOnloadByKey(data) {
	return request.get('/open/consumer/info/getIndexOnloadByKey', data);
}


// 年审公告小程序端
export function selectComAnnualReview(data) {
	return request.get('/open/consumer/info/selectComAnnualReview', data);
}













